
#cd /home/xwp/cngit/spring-cloud-demo

rm -f logs/*.log

#mvn clean package -DskipTests

java -Dserver.port=8763  -jar delivery/spring-cloud-service-registry-1.0-SNAPSHOT.jar > /dev/null 2>&1 &

java -Dserver.port=9999  -jar delivery/spring-cloud-oauth2-server-1.0-SNAPSHOT.jar > /dev/null 2>&1 &

#java -Dserver.port=9020 -Ddemo.sleepInMilliseconds=2000 -Ddemo.alwaysException=true -jar delivery/spring-cloud-service-account-1.0-SNAPSHOT.jar > /dev/null 2>&1 &
#java -Dserver.port=9021 -Ddemo.sleepInMilliseconds=4000 -Ddemo.alwaysException=false -jar delivery/spring-cloud-service-account-1.0-SNAPSHOT.jar > /dev/null 2>&1 &
#java -Dserver.port=9022 -Ddemo.sleepInMilliseconds=500  -Ddemo.alwaysException=true -jar delivery/spring-cloud-service-account-1.0-SNAPSHOT.jar > /dev/null 2>&1 &

java -Dserver.port=9023 -jar delivery/spring-cloud-service-account-1.0-SNAPSHOT.jar > /dev/null 2>&1 &

java -Dserver.port=9010 -jar delivery/spring-cloud-service-customer-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &
#java -Dserver.port=9011 -jar delivery/spring-cloud-service-customer-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &

java -Dserver.port=9000 -jar delivery/spring-cloud-zuul-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &

#java -Dserver.port=9090 -jar delivery/spring-cloud-dashboard-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &
#java -Dserver.port=9100 -jar delivery/spring-cloud-turbine-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &

